CREATE TABLE [dbo].[TTPLAN_CONT]
(
[CO_PLAN_CONT] [dbo].[TD_VC_002] NOT NULL,
[DE_PLAN_CONT] [dbo].[TD_VC_100] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTPLAN_CO__CO_US__08162EEB] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTPLAN_CO__FE_US__090A5324] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TTPLAN_CO__CO_US__09FE775D] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTPLAN_CO__FE_US__0AF29B96] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTPLAN_CONT] ADD CONSTRAINT [PK__TTPLAN_C__DD034028758D6A5C] PRIMARY KEY CLUSTERED  ([CO_PLAN_CONT]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTPLAN_CONT] TO [public]
GRANT INSERT ON  [dbo].[TTPLAN_CONT] TO [public]
GRANT DELETE ON  [dbo].[TTPLAN_CONT] TO [public]
GRANT UPDATE ON  [dbo].[TTPLAN_CONT] TO [public]
GO
